package com.cf;

/**
 * wxredpacket-Constant
 *
 * @author <a href="2428922347@qq.com">Zhu mingming</a>
 * @info
 * @since 2018/1/9 18:24
 */
public enum Constant {

    SUCCESS("SUCCESS!", 200), ERROR("异常", 500);

    private String info;

    private Integer code;

    Constant(String info, Integer code) {
        this.info = info;
        this.code = code;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
